package com.yanqu.road.entity.activity.washe.data;

import com.yanqu.road.entity.DataObject;

import java.util.ArrayList;
import java.util.List;

/**
 * 玩家数据
 */
public class WasheConditionData extends DataObject {

    private long userId;
    private int seasonId;
    private int type;
    private int rewardId;

    private long value;
    private List<Integer> getRewardList;
    private long time;

    // ===============================


    public WasheConditionData() {
    }

    public WasheConditionData(long userId, int seasonId, int type, int rewardId) {
        this.userId = userId;
        this.seasonId = seasonId;
        this.type = type;
        this.rewardId = rewardId;

        this.value = 0;
        this.getRewardList = new ArrayList<>();
        this.time = System.currentTimeMillis();
    }

    // ===============================

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSeasonId() {
        return seasonId;
    }

    public void setSeasonId(int seasonId) {
        this.seasonId = seasonId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getRewardId() {
        return rewardId;
    }

    public void setRewardId(int rewardId) {
        this.rewardId = rewardId;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public List<Integer> getGetRewardList() {
        return getRewardList;
    }

    public void setGetRewardList(List<Integer> getRewardList) {
        this.getRewardList = getRewardList;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
